import { http } from "../http"

export const areaRankingService = {
    getDayRankingService: (area_id) => {
        return http({
            method: "GET",
            url: `/area_data/get_day_top10ele_device_data/${area_id}`,
        })
    },
    getWeekRankingService: (area_id) => {
        return http({
            method: "GET",
            url: `/area_data/get_week_top10ele_device_data/${area_id}`,
        })
    },
    getMonthRankingService: (area_id) => {
        return http({
            method: "GET",
            url: `/area_data/get_month_top10ele_device_data/${area_id}`,
        })
    },
}